import PropTypes from "prop-types";
import { requireNativeComponent, ViewPropTypes } from "react-native";

export default requireNativeComponent("RCTPlayer", {
    name: "Player",
    propTypes: {
        src: PropTypes.string,
        ...ViewPropTypes
    },
    nativeOnly: {
        start: true
    }
});
